<!DOCTYPE html>
<html style="overflow-x: hidden; overflow-y: scroll;" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="{obj('base/Base')->SEO('index_keywords')}" />
<meta name="description" content="{obj('base/Base')->SEO('index_dec')}" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<link rel="stylesheet" href="{__PUBLIC__}web/css/jquery-ui.css">
<link media="all" rel="stylesheet" type="text/css" href="{__PUBLIC__}web/css/style.css">		
<title>{if $_GET['list']}<? $listname=obj("index/global", "controller")->malltype("y", 0, "category", "nall"); echo $listname['1stCategoryName'];?> - {/if}{if $_GET['mall']}<? $listmall=obj("index/global", "controller")->yqfmalltype("y", $_GET['mall'], "category", "0"); echo $listmall['mallName'];?> - {/if}{obj('base/Base')->SEO('index_title')}</title>

{include file="app/index/view/index/devjs"}	
<script>browserRedirect('{url($route='index/m/index', $params=array())}');</script>

	</head>
	<body>
		<div id="wrapper">
			<div id="popuplayer"></div>
					{include file="app/index/view/index/topheader"}				
				<div class="mainleft" id="mainleft">
															




{include file="app/index/view/index/nav"}					
<div class="choicearea">
		<div class="choicerow">
		<div class="caterowtitle"><span class="cateitemword" style="color:#959595;">类别：</span></div>
        {if !$_GET['list'] || !$_GET['mall']}
		<a class="{if !$_GET['list']}curcateitem{else}cateitem{/if}" href="{url($route='index/index/index', $params=array())}"><span class="{if !$_GET['list']}curcateitemword{else}cateitemword{/if}">全部</span></a>
        {else}
        {if !$_GET['mall']}
        <a class="{if !$_GET['list']}curcateitem{else}cateitem{/if}" href="{url($route='index/index/index', $params=array())}"><span class="{if !$_GET['list']}curcateitemword{else}cateitemword{/if}">全部</span></a>
        {else}
        <a class="{if !$_GET['list']}curcateitem{else}cateitem{/if}" href="{url($route='index/index/index/mall=<mall>', $params=array("mall"=>$_GET['mall']))}"><span class="{if !$_GET['list']}curcateitemword{else}cateitemword{/if}">全部</span></a>
        {/if}
        {/if}
        {foreach $list as $vo}
        {if !$_GET['mall']}
         <a class=" {if $_GET['list']==$vo['id']}curcateitem{else}cateitem{/if} " href="{url($route='index/index/index/list=<list>', $params=array("list"=>$vo['id']))}"><span class="{if $_GET['list']==$vo['id']}curcateitemword{else}cateitemword {/if} ">{$vo['1stCategoryName']}</span></a>
         {else}
          <a class="{if $_GET['list']==$vo['id']}curcateitem{else}cateitem{/if} " href="{url($route='index/index/index/list=<list>/mall=<mall>', $params=array("list"=>$vo['id'],"mall"=>$_GET['mall']))}"><span class="{if $_GET['list']==$vo['id']}curcateitemword{else}cateitemword {/if}">{$vo['1stCategoryName']}</span></a>
          {/if}
        {/foreach}
        
        
        </div>
	<div class="clear"></div>
	<div class="choicerow">
		<div class="caterowtitle"><span class="cateitemword" style="color:#959595;">商城：</span></div>
     
	    {if !$_GET['list'] || !$_GET['mall']}
		<a class="{if !$_GET['mall']}curcateitem{else}cateitem{/if}" href="{url($route='index/index/index', $params=array())}"><span class="{if !$_GET['mall']}curcateitemword{else}cateitemword{/if}">全部</span></a>
        {else}
        {if !$_GET['list']}
        <a class="{if !$_GET['mall']}curcateitem{else}cateitem{/if}" href="{url($route='index/index/index', $params=array())}"><span class="{if !$_GET['mall']}curcateitemword{else}cateitemword{/if}">全部</span></a>
        {else}
        <a class="{if !$_GET['mall']}curcateitem{else}cateitem{/if}" href="{url($route='index/index/index/list=<list>', $params=array("list"=>$_GET['list']))}"><span class="{if !$_GET['mall']}curcateitemword{else}cateitemword{/if}">全部</span></a>
        {/if}
        {/if}
      
         {foreach $mall as $vo}
        {if !$_GET['list']}
         <a class="{if $_GET['mall']==$vo['id']}curcateitem{else}cateitem{/if}" href="{url($route='index/index/index/mall=<mall>', $params=array("mall"=>$vo['id']))}"><span class="{if $_GET['mall']==$vo['id']}curcateitemword{else}cateitemword {/if}">{$vo['mallName']}</span></a>
         {else}
          <a class="{if $_GET['mall']==$vo['id']}curcateitem{else}cateitem{/if}" href="{url($route='index/index/index/list=<list>/mall=<mall>', $params=array("list"=>$_GET['list'],"mall"=>$vo['id']))}"><span class="{if $_GET['mall']==$vo['id']}curcateitemword{else}cateitemword {/if}">{$vo['mallName']}</span></a>
          {/if}
        {/foreach}
        
        </div>
</div>					<div class="clear"></div>
										<div class="innerhdbar">
	<div class="hdbarimg">
		<a href="{url($route='index/hot/index', $params=array())}" target="_blank" class="hdbargotohotshref">
			<img class="top9img" style="height:140px;width:140px;" src="{__PUBLIC__}web/images/halfhourhotr2.png">
		</a>
	</div>
	<div class="innerhdbarcontent">
	{foreach $minute as $vo}
    <?$key=$key+1;?>
	<a class="hotdealbaritem" href="{url($route='go/to/yiqifa/id=<id>', $params=array('id'=>$vo['id']))}" target="_blank" onmousedown="_hmt.push(['_trackEvent', 'newhotbar', 'newhotbar-{obj('api/Api')->moneytype($vo['mobilePriceOri'])} {$vo['productName']}'])" title="￥{obj('api/Api')->moneytype($vo['mobilePriceOri'])} {$vo['productName']}">
		<div class="hotdealbarimg">
			<img src="{$vo['imgUrl']}" alt="￥{$vo['productName']}" style="margin-right:1px;margin-left:1px;margin-top:1px;margin-bottom:1px" width="30" height="30">
		</div>
		<div class="hotdealbaritemword">
		<span style="color:#333;font-weight:bold">{$key}.&nbsp;</span> <?php
         preg_match_all('/￥[1-9]\d*/', $vo['productName'], $keyword);
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*.[1-9]\d*元/',  $vo['productName'], $keyword);
         }
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*元/', $vo['productName'], $keyword);
         }
         echo str_replace($keyword['0']['0'],"<font class='emphricepart'>".$keyword['0']['0']."</font>",$vo['productName'])
         
         ?>	</div>
	</a>
	{/foreach}
	
	

		</div>
</div>
					<div class="clear"></div>
					<a class="feednotify" id="feednotify" style="display:none" href="#" onmousedown="_hmt.push(['_trackEvent', 'feednotify', 'feednotify']);">
	<span class="feednotifyreddot">●</span>
	<span class="feednotifyword" id="feednotifyword">有新发布条目，点此刷新...</span>
</a>					<div class="clear"></div>
					
<div class="clear"></div>

<div class="zkcontent">
{foreach $Page['list'] as $vo}
<div class="gooditem withborder">
<div class="imgandbtn">
	<div class="showpic">
	<a href="{url($route='index/view/index/id=<id>', $params=array('id'=>$vo['id']))}" target="_blank" onmousedown="xlog('{$vo['id']}','pic')">
		<div class="imgmask" style="height:140px;width:140px;top:15px;left:10px"></div>
		<img src="{$vo['imgUrl']}" alt="{$vo['productName']}" style="margin-left:0px;margin-top:0px;margin-bottom:0px" width="140" height="140">
	</a>
	</div><!-- div.showpic -->
	<div class="clear"></div>
</div>

<div class="iteminfoarea">

	<h2 class="mallandname">
				<a class="goodname" title="{$vo['productName']}" href="{url($route='index/view/index/id=<id>', $params=array('id'=>$vo['id']))}" target="_blank" onmousedown="xlog('{$vo['id']}','name')">
		 <?php
         preg_match_all('/￥[1-9]\d*/', $vo['productName'], $keyword);
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*.[1-9]\d*元/',  $vo['productName'], $keyword);
         }
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*元/', $vo['productName'], $keyword);
         }
         echo str_replace($keyword['0']['0'],"<font class='emphricepart'>".$keyword['0']['0']."</font>",$vo['productName'])
         
         ?>	</a>
	</h2><!-- div.mallandname -->
	<div class="clear"></div>
		<div class="shortabstract">
		<a class="abstractcontent" href="{url($route='index/view/index/id=<id>', $params=array('id'=>$vo['id']))}" target="_blank" onmousedown="xlog('{$vo['id']}','abstract')">
		{mb_substr(strip_tags($vo['productName']),0,73,'utf-8')}		...&nbsp; </a><a class="gotodetail" href="{url($route='index/view/index/id=<id>', $params=array('id'=>$vo['id']))}" target="_blank" onmousedown="xlog('{$vo['id']}','detail')">完整阅读&gt;</a>
				
	</div><!-- a.shortabstract -->
	<div class="timeandfrom">
		<div class="infotime"><a href="{url($route='index/view/index/id=<id>', $params=array('id'=>$vo['id']))}" target="_blank" onmousedown="xlog('{$vo['id']}','dtat')"><span class="latesttime">{obj("api/Api")->mdate($vo['date'])}</span></a></div>
		<div class="infofrom">&nbsp;从{$vo['mallName']}同步</div>
	</div><!-- div.timeandfrom -->
	</div><!-- div.iteminfoarea -->
<div class="rightlinks ">


		<a class="innergototobuybtn" isconvert="1" href="{url($route='go/to/url/id=<id>', $params=array('id'=>$vo['id']))}" target="_blank" onmousedown="xlog('{$vo['id']}','ingobuy')">
		<span class="innergototobuyword">直达链接&nbsp;&gt;</span>
        
	</a>
		<div class="clear"></div>
<div class="rightmall">

					商城：{$vo['mallName']}
                    
 
				</div>
		
        </div>

		</div>
</div>
		
					<div class="clear">{/foreach}</div>	
                    
				
				</div>
				
				<div class="mainright" id="mainright">
				{include file="app/index/view/index/right"}
{include file="app/index/view/index/chinamall"}

{include file="app/index/view/index/list"}
</div><!-- end of mainright -->
				<div class="clear"></div>
<div class="page">
{$Page['page']}<!-- div.page -->
			</div><!-- end of main -->


</div>	</div>

				   <script type='text/javascript'>
var maxid={$maxid};
var cnt=0;
var sh=setInterval(function(){
	$.get("index.php?r=index/index/checknum&maxid="+maxid, function(data){
		if(data>5)
		{
			var hrefhtml="有"+data+"条新发布条目，点此查看 >";
			var hrefattrheadbar="{url($route='index/index/index', $params=array())}&lid="+maxid;
			var hrefattrtip="{url($route='index/index/index', $params=array())}&lid="+maxid;
			$("#feednotifyword").html(hrefhtml);
			$("#feednotify").attr("href",hrefattrheadbar);
			$("#feednotify").show();
			$("#dealheadnotifydiv").html(hrefhtml);
			$("#dealheadnotifydiv").attr("href",hrefattrtip);
			$("#dealheadnotifydiv").show();
			$("#dealheadnotifyclose").show();
			var curtitle="{obj('base/Base')->SEO('index_title')}";
			var notifytitle='('+data+'条更新) '+curtitle;
   			$(document).attr("title",notifytitle);
   			$(".dealheadnotifydot").show();
			if(data>200)
   			{
   				clearInterval(sh);
   			}
		}
		//console.log(data);
	});
	cnt++;
	if(cnt>60)
	{
		clearInterval(sh);
	}
},120000);
</script>
            {include file="app/index/view/index/popnav"}
            {include file="app/index/view/index/footerjs"}
	{include file="app/index/view/index/footer"}
   
    
    
  

